# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class WAFRuleGroup(object):

    def __init__(self, id=None, name=None, description=None, rules_count=None, modified_rules_count=None, package_id=None, mode=None, allowed_modes=None):
        """
        :param id: (Optional) WAF组标识符标签
        :param name: (Optional) 防火墙规则组的名称
        :param description: (Optional) WAF规则集的功能摘要
        :param rules_count: (Optional) 此组中包含多少条规则
        :param modified_rules_count: (Optional) 组中有多少规则已从默认规则修改
        :param package_id: (Optional) WAF包标识符标签
        :param mode: (Optional) 此组中包含的规则是否可配置/可用
        :param allowed_modes: (Optional) 组可以具有的可用状态。这将影响此组中规则的状态。
        """

        self.id = id
        self.name = name
        self.description = description
        self.rules_count = rules_count
        self.modified_rules_count = modified_rules_count
        self.package_id = package_id
        self.mode = mode
        self.allowed_modes = allowed_modes
